package com.yh.javabean;

/**
 * @Auther: Liang
 * @Date: 2024/5/10 - 05 - 10 - 17:40
 * @Description: com.yh.javabean
 * @version: 1.0
 */
public class Student {
    private int sid;
    private String username;
    private  String password;
    private String name;

    public Student() {
    }

    public Student(int sid, String username, String password, String name) {
        this.sid = sid;
        this.username = username;
        this.password = password;
        this.name = name;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
